package com.lovo.stock.constant;

/**
 * 这是一个消息编码的枚举
 */
public enum MessageCode {

    SUCCESS("请求成功", "000000"),
    ACCOUNT_OR_PASSWORD_ERROR("账号或密码错误","000001"),
    ERROR("服务器错误，请联系管理员","999999"),
    ;
    public String message;
    public String code;

    MessageCode(String message, String code) {
        this.message = message;
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public String getCode() {
        return code;
    }
}
